#include "sound/soundsysteminterface.h"

#include "sound/sounddevicelocator.h"

namespace cricket {

	void SoundSystemInterface::ClearSoundDeviceLocatorList(
		SoundSystemInterface::SoundDeviceLocatorList *devices)
	{
		for (SoundDeviceLocatorList::iterator i = devices->begin();
			i != devices->end();++i)
		{
			if (*i) 
				delete *i;
		}
		devices->clear();
	}

}  // namespace cricket